package com.greyfit.model

class Program {
	static hasMany = [lifts: ProgramLifts]
	
	String programName
	
	Date dateCreated
	Date lastUpdated
	
	static mapping = {
		cache true
	}
	
    static constraints = {
		programName blank: false, unique: true
    }
	
	String toString()
	{
		return "${programName}"
	}
}
